parent

val parent: DesignBlock? = null

Parameters

parent

the block that the new block is added to. null adds it to the current page, and so does an invalid block such as -1.